package com.example.online_exam_system.logic;


import com.example.online_exam_system.dto.QuestionsDto;

import java.util.List;

/**
 * @author lianglong
 * @create 2021-11-27-12:34
 * @describe
 */
public interface IQuestionsInfoService {



    /**
     * @description 获取老师页面试题信息
     * @param teacherId 教师id
     * @return questionsDto
     * @author lianglong
     */
    List<QuestionsDto> getQuestionsTable(String teacherId);

    /**
     * @description 添加试题
     * @param
     * @return
     * @author lianglong
     */
    int insertQuestion(QuestionsDto questionsDto);

    /**
     * @description 添加科目id信息
     * @param
     * @return
     * @author lianglong
     */
    QuestionsDto addSubjectName(QuestionsDto questionsDto);

}
